package com.morningstar.common.advice;

import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.beans.factory.annotation.Value;

/**
 * @author yls
 */
@Slf4j
public class BaseExceptionAdvice {

    /**
     * 服务名
     */
    @Value("${spring.application.name}")
    protected String serviceName;
    /**
     * 消息队列
     */
    @Resource
    protected AmqpTemplate amqpTemplate;
}
